package com.dmw.vo.chooseSeatVO.seatvo;

import java.io.Serializable;

/**
 * 座位价格
 */
public class SeatInfo implements Serializable {
    private Integer id;//座位Id
    private Integer x;//x坐标
    private Integer y;//y坐标
    private Integer areaLevel;//区域级别(1:A;2:B;3:C)
    private Integer cinemaId;//剧场Id
    private Integer sort;//座位排序
    private Integer status;//座位状态(0:有座位 1:座位已锁定 2：座位已售出)

    public SeatInfo(Integer id, Integer x, Integer y, Integer areaLevel, Integer cinemaId, Integer sort, Integer status) {
        this.id = id;
        this.x = x;
        this.y = y;
        this.areaLevel = areaLevel;
        this.cinemaId = cinemaId;
        this.sort = sort;
        this.status = status;
    }

    @Override
    public String toString() {
        return "SeatInfo{" +
                "id=" + id +
                ", x=" + x +
                ", y=" + y +
                ", areaLevel=" + areaLevel +
                ", cinemaId=" + cinemaId +
                ", sort=" + sort +
                ", status=" + status +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public Integer getAreaLevel() {
        return areaLevel;
    }

    public void setAreaLevel(Integer areaLevel) {
        this.areaLevel = areaLevel;
    }

    public Integer getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Integer cinemaId) {
        this.cinemaId = cinemaId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
